home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Collection of Tools & Utilities
/
Collection of Tools and Utilities.iso
/
dskut
/
adcsh122.zip
/
ADCACHE.DOC
< prev
next >
Wrap
Text File
|
1990-02-24
|
7KB
|
142 lines
ADCACHE - EMS HARD-DISK CACHE
NAME
adcache - the awesome disk cache
SYNOPSIS
adcache [-12fhinsu] [-a#] [-e#] [-r{#|+}] [-w#]
DESCRIPTION
ADCache is a TSR hard-disk cache that uses EMS memory. It
requires EMS version 3.2 or better and MS/PC-DOS 2.0 or
above. ADCache is small and fast. It works on any IBM
PC/XT/AT or PS/2 or compatible with one or two hard disk
drives that use the BIOS INT 13h interface.
ADCache is shareware. Please read "Licensing" at the end of
this document for details.
OPTIONS
In option descriptions, the symbol "#" stands for a decimal
number.
This option is always available:
-h Print a usage message describing ADCache's command-line
options. Does not install the cache.
These options are available only when installing ADCache:
-1, -2
Cache only the first or second hard drive. By default,
ADCache caches both drives (or drive 1 if only one is
installed).
-i Place the cache index in EMS. Normally, the index is
kept in conventional memory. Placing it in EMS may
slow access, but reduces the amount of system memory
required. Using "-i" allocates 16K of EMS to the
index. This is less effective with a small cache, as
ADCache requires only 1 to 2K of index per megabyte of
cache.
-n Do not use 32-bit transfers. Normally, if ADCache
detects that it is running on an 80386 processor, it
will use 32-bit instructions to transfer data in and
out of the cache. This option forces it to use 16-bit
instructions compatible with the 80286 and earlier
processors.
-a# Allocate all but #K of EMS to the cache. This option
will leave the specified amount of EMS available for
other programs. Use either -a or -e but not both.
-e# Allocate #K of EMS to the cache. The default is 512K.
The actual amount of EMS used may differ from the
number given by several K because of rounding of block
sizes. Values may range up to 32768 (32M bytes), but
varying limits on the sizes of internal data structures
may restrict the amount of memory that can be used.
-r# Enable readahead when filling the cache from disk. Up
to # additional sectors are read and cached beyond the
number requested. The default is approximately 1/4 of
a full track.
-r+ Enable readahead and set the readahead length to one
full track.
-w# Enable delayed-write caching where # is the time in
seconds that data are held before writing to disk. The
legal range of values is 0.0 to 60.0, with an optional
decimal point followed by one digit for 1/10 second
resolution. Selecting 0 (or omitting the number)
delays writes by 0.2 second, long enough to catch most
multiple writes to a single track. Delayed writes are
off by default.
These options are available only after installing ADCache:
-f Flush the cache. This option forces ADCache to flush
all delayed-write data in the cache to disk. It does
not invalidate the cache.
-s Display statistics on cache hits and misses.
-u Uninstall ADCache. This function attempts to remove
ADCache completely from memory, but that may not be
possible if other TSRs have been installed afterwards.
In that case, it disables the cache.
LIMITATIONS
ADCache requires that all drives being cached have the same
number of sectors per track. If you have two drives and use
a controller with sector translation, you can only cache one
of the drives if they are not configured for the same number
of sectors.
ADCache caches hard disks only. It does not work with
removable-media drives.
BUGS
ADCache will not work correctly with EMS emulators. It will
crash horribly if used with a disk-based EMS emulator.
"Awesome disk cache" is a stupid name. Please send me
suggestions for better ones.
COPYRIGHT
ADCache and this document are copyright 1990 by:
David H. Rifkind
1800 W. Hillcrest Dr., #287
Newbury Park, CA 91320
BIX: drifkind
LICENSING
ADCache is shareware. You may use it and give it to others
to use as long as you include this document and charge no
fee other than reasonable distribution charges. You may try
ADCache without paying for it, but if you continue to use
it, you must pay for it.
To pay for and register your copy of ADCache, send $15 U.S.
by check or money order to the author at the address above
($10 per copy if registering multiple copies). Include your
name and address and the version number of ADCache displayed
when you run the program. If you pay an additional $5, I
will send you a copy of the next upgrade (or the current
version if you register an older version).
This is a single-user license, but may be applied to more
than one computer as long as only one copy of ADCache is
running at a time.
Site licenses are available. Contact the author for more
information.
ADCache version 1.20
Last update: February 19, 1990